using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace YYJ.UI {
    public partial class MainForm : BaseForm {
        public MainForm() {
            InitializeComponent();

            txtContent.Text = System.Configuration.ConfigurationManager.AppSettings[ "background" ];
        }

        private void btnExit_Click( object sender, EventArgs e ) {
            this.Close();
        }

        private void btnGotoInfoEditing_Click( object sender, EventArgs e ) {
            this.switchTo<EditForm>();
        }

        private void btnGotoInspecting_Click( object sender, EventArgs e ) {
            this.switchTo<SearchFaultForm>();
        }

        private void btnGotoTesting_Click( object sender, EventArgs e ) {
            this.switchTo<ExamForm>();
        }

        private void btnGotoSystemMaintaining_Click( object sender, EventArgs e ) {
            this.switchTo<MaintainForm>();
        }
    }
}